access git commits code example Example 1: github show files changed git log git log --name-only Example 2: to see all after commit in local repository in git git log --name-only