Here are some usefull infos about Github and how to use it.
# Get started: Name, Email, Editor
git config --global user.name "Example Name"
git config --global user.email "email@example.com"
git config --global core.editor "vim"
Go to Settings / Developer Settings / Personal access tokens
Create a Token with the needed permissions.[1]
git config --global core.editor "vim"
or
vi ~/.gitconfig
-----------------------
[core]
editor = vim
-----------------------