Introduction: Downloading Code From GitHub

Picture of Downloading Code From GitHub

Dear Folks,

Github have become an important place for collaborative software projects and is becoming a de facto standard for sharing code and other digital designs. In this short instructable we will learn how to download code from a GitHub repository and use it in your Project.

Step 1: Download As Zip Archive

Picture of Download As Zip Archive

Easiest and simple way to download code from Github is to download the whole code in a zip file by clicking the "Download Zip" button on the right hand side of the page (as shown in the above image).

Step 2:

Picture of

You can then save the zip file into a convenient location on your PC and start working on it.

Step 3: Using Git

Picture of Using Git

Git is a free and opensource distributed version control software which you can download from here.

Step 4: Starting Git

Picture of Starting Git

Here i am dealing with the Windows Version,So after you have installed the software on your PC,

Go to Start Menu and type "git" on the search bar.

Here Git Bash and Git CMD are command line shells for accessing git.

Step 5: Git Bash and Git CMD

Picture of Git Bash and Git CMD

Git Bash provides Linux commands (for eg ls ,clear) using MinGW32 framework

while Git CMD gives access to windows command line tools only.

For eg ,You can use " ls " command on Git Bash but not on Git CMD as shown above.

Step 6: Cloning a Repository Using Git

Picture of Cloning a Repository Using Git

Now Click on either Git Bash or Git CMD to open the command line shell.

Navigate to a convenient location and then type

git clone https://github.com/xanthium-enterprises/Cross-Platform-RS485-Programming-CSharp

to clone the C# RS485 Programming Repository to your PC.

Please replace the URL address with the address of the Repo you want to clone.

This will create a local copy of the repository for you to work with.

Please note that Git Bash is case sensitive.

Step 7:

Picture of

You can find your files on your PC like this.

Comments

This is very easy!

About This Instructable

601views

13favorites

License:

Bio: We are a website specializing in building cool projects using MSP430 microcontrollers,occasionally we do sell what we make online on our store . You can ... More »
More by xanthium-enterprises:8051 programming using Small Device C Compiler (SDCC)8051 Programming Using Keil UVision IDEBidirectional control of 4 DC motors using ATtiny Microcontroller and L293D
Add instructable to: