how to set up git for github

C++
$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"

Source

Also in C++: