Move the git add command to correct place