##What's ...? What is git? & What is github?
Cloning, Forking, Commiting & Updating
#Exercise
Fork this repository and download the repository to your computer
##Questionnaire
The next questionnaire could be answer within the readme file on your computer or within github repository.
If you decide to do it in your computer, just edit the readme.md file with each answer then add changes, commit then and
finally push the changes to your github repository. If you decide to change it within github, you just need to click on the
readme.md file, click the edit icon and start answering the questions.
- What is Git?
- What is Github?
- Describe the commands that were used on Try Git tutorial (Use a table).
- What are the main advantages?
###Answers
git is a means to archive the work so you are able to view the changes and a means to go back and review how it changed.
github is a website that allows you to keep Repos on a remote location.
| git add . | adds information into the que |
| git status | checks to see if information has been added into the repo |
| git push | pushes the changes to a remote location |
| git remote | allows you to set a remote location |
| git commit | allows you to set a comment to a change that happens |
| git branch | lets you branch into a copy of a set of files so you don't mess the originals. |
| git merge | allows you to merge the changes from a branch into the originals |
the advantages is that it allows you to compare different versions of the files, merge files, and allow multiple people to work on files without issue.
##Exercise
Work on the gitTutorial folder, in order to simulate everything that was done within the Try Git Tutorial.
The tutorial allow you to use some git commands but is skipping the creation and editing of the files, so
you are going to create/edit/delete the files following the tutorial steps using git add [files] and
git commit -m "PLACE COMMIT NAME HERE" in order to have a reference within the project per change.
###For example:
####Edit octocat.txt file
- Open octocat.txt file then create a change within the file, could be just add or erase a letter/paragraph ...
- Add changes to stage area
git add octocat.txt - Commit changes to the project
git commit -m "Octocat cat File edited"
#Useful Links