Explain the difference between the "Author" and the "Committer" in a Git commit object.

Last updated 6 July 2026

  • The Author is who originally wrote the change and is preserved when the commit is moved. The Committer is who last created the commit object.

  • They diverge on rebases, cherry-picks, or applied patches: the original author stays, but you become the new committer.

  • git log shows only the author by default. Use git log --format=fuller to see both.

  • https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History
  • https://git-scm.com/docs/git-commit
  • https://javascript.plainenglish.io/git-author-vs-committer-whats-the-difference-57428d2ae644
  • https://www.freecodecamp.org/news/gitting-things-done-book/
  • https://dev.to/rajhawaldar/how-to-chane-author-name-and-the-email-of-the-commit-4a9o
All Git interview questions