GitHub is Distribute Version Control System you know full detail on how to set up the User in Github in the previous post. Here I will share how to set the user for single repository on the command line.
You can do this simple command execution.
You can do this before you must navigate to that particular repository first.
After that you can execute the below command, replace the USER NAME with your username.
$ git config user.name "USERNAME"
Now you can set the particular user for that particular repository. You can check weather the repository is correctly set or not by executing this command.
$ git config user.name