Git Glossary¶
Commit: (noun) A recorded version of your project. (verb) To record a new version of your project.
Repository (or repo): where your files are stored, can be on your computer (local) or on GitHub’s servers (remote).
git clone: copy a remote repository locallygit status: shows what is in staging and was is being commited.git add file_name: moves a file to staging.git commit -m "Detailed log message goes here.": commits files in staging to history and documents message to the log.git push: send local commits to a remote repositorygit fetch: retrieve commits from a remote repository (GitHub)git merge: merge remote commits with local changesgit diff: display the difference between working and committed filegit log: shows the history of commitsHEAD: identifier that points to the most recent local commit.gitignore: a file where you can list files you want left out of version control