check status of local git repository in last commit code example Example: github show files changed git log git log --name-only