Switch to the master branch
git checkout master
Create a file, add some content and commit the changes
vi <new-file-name>.txt
git add <new-file-name>.txt
git commit -m "Added <new-file-name>.txt"
View all commits in a branch
git log
Check the author name set by default (Note the output for next step)
git config user.name
View the commits by a specific author since 2023-01-01 to 2023-12-31
git log --author="<author-name>" --since="2023-01-01" --until="2023-12-31"