Introduction to Git and Github
This is a brief introduction to git and github. Conceptual overview slides are available as well as a quick reference guide and a more comprehensive command list.
Below are examples of the more common commands you're likely to used regularly.
Most common commands
see what files are ready to be made into a "snapshot" (committed) and which ones are not being kept track of
create a new git repository for the first time (will not add any files)
add file(s) to the list of files that should be made into a "snapshot" (committed)
take a "snapshot" of all currently tracked project files. Files need to be "prepped" (staged) for commit using
git add beforehand.
see the full historical timeline of the project
send latest local changes to a remote location (e.g. github)
get the latest changes from a remote location (e.g. github)
duplicate a remote repository (e.g. github) on your local computer
create a new independent "timeline" for the project
undo changes by reversing any specific "snapshot" (commit)
copy a remote repository on github, to your own remote account on github
notify a remote repository owner you would like them to review+incorporate your additions