Fix GIT command + minor modifications.