How can you find out what were the most recent changes in Git repository and who made them?

Experience Level: Junior
Tags: Git Source control

Answer

Run the command line and execute the following command:

git log

The command will show you the list of all commits.

More convenient way to see commit history is to use some Git user interface like TortoiseGit or Git client integrated in Visual Studio or other IDE.

Related Git job interview questions
Git for beginners
Git for beginners

Are you learning Git? Try our test we designed to help you progress faster.

Test yourself