Github
Github
Git and github is mainly used to version control system .These version controlling is done by using
command line interface or by using the Graphical user interface also we can do in the github. Our will
be placed to the centralized location of the github from that location we can push or pull the code as
per our requirement.
Step1. First we need to create the git hub account after signing the github account we need sign in the
account and create the new repository inside the github account follow the screen shot below:
Step4: After that create an empty directory across the local machine ex: githublearnig
right click and open the git bash over the githublearning and then use following command to push
the code to the github server
*******************************
git init
git add -A
git status
Step1: Login to github and select the link it will directly take you to the clone and download option
where you can download the code to setup the new server
When you click on to clone or download option where you will find copy the link address, after coping
the link enter the following command:
Step5:
$ git pull https://github.com/rajivpandey355/privaterepos.git