Finishes the git commit process