Git Concepts

  • Repository - A folder / set of files managed by git
    • Git tracks changes to a repository over time
  • Commit - A commit in git is a point in time snapshot of the repository folder
    • A commit keeps track of the state of all files and folders
    • A commit is kind of like a version
    • A commit comes with a message and knows what commit came before it
    • All commits are identified by a special "commit hash"

13 / 19