Many time we need to use some version control system.GitHub is a web-based hosting service for projects that use the Git revision control system.It is written using Ruby on Rails by GitHub,Inc.

For Initial Setup of your account and repository , you can use     using the graphical web interface you can simply create account and repository.

We can also create Repository using command line using the Github API.

Start using Git :

  1. Open command prompt or teminal in linux
  2. create a directory using
    Windows :
    md<directory name>Ubuntu: 
    mkdir <directory name>
  3.  move into directory
    cd <directory name>
  4. Setup Git
    git init  
  5. Put your code in this directory
  6. Add your code to git repo
    git add .
  7. git commit -m “<commit message>”

For further help you can go through : Git cheat sheet 

Add your Project into Git

Leave a Reply

Your email address will not be published.