connect to github using git bash code example
Example 1: git add existing project to repository
git remote add origin <repository url>
git branch -M main
git push -u origin main
Example 2: git hub set up
$ tar -zxf git-2.8.0.tar.gz
$ cd git-2.8.0
$ make configure
$ ./configure --prefix=/usr
$ make all doc info
$ sudo make install install-doc install-html install-info