git change user for single repo

Shell
$ git config user.name "John Doe" 

Source

Also in Shell: