How does Git track changes within a repository?

  • Through file timestamps
  • By creating snapshots of the changes
  • Using file checksums for changes
  • Tracking changes through external logs
Git tracks changes by creating snapshots of the entire repository at different points in time. Each snapshot (commit) contains a reference to the previous snapshot, forming a chain of changes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *