Aimed for practising Ansible
# do the change you intend to push
# check the unstaged changes not intended for the commit
$ git status
# check the changes
$ git diff
# add these changes into list of changes to commit
$ git add .
$ git commit -m "Git 101 documentation"
# check the commits to be pushed
$ git log
# if you need to modify the last commit by adding some changes
$ git add . && git commit --amend
# push the work
$ git push origin main