1. What is the correct Git command to undo uncommitted changes to the tracked file sort.py?

a) git checkout sort.py

b) git rm —cached sort.py

c) git revert sort.py

d) git reset —soft HEAD~1

2. Bring the following 4 Git commands in the correct order so that none of them produces an error:

git log; git init; git commit ; git add