Fixed some echo statements and make sure we're in the correct directory befor issuing git commands.