Git - Architecture

From EdWiki


  • Index
    • Stores information about current working directory and changes made to it
  • Object Database
    • Blobs (binary large object files)
      • Stored in .git/objects
      • Indexed by unique hash
      • All files are stored as blobs
  • Trees (directories)
  • Commits
    • One object for every commit
    • Contains hash of parent, name of author, time of commit, and hash of the current tree
  • Tags