Google officially announced that the Google code project hosting service will be closed on January 15 2016. This announcement was posted through their blog post entitled Bidding farewell to Google Code. Google says in their blog post that most of the developer’s projects where move to another project hosting services like GitHub and Bitbucket bloom that’s why they decided to close the Google Code project hosting service. They also decided to move most of their open source projects to GitHub in order for developers can use them easily.
What exactly GitHub is, and why Google trusted this site to host their open source projects? To understand what GitHub is, we must understand first what Git is.
Git is simply a version of control System, while GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.
Creating Account in GitHub
- Simply sign up at Github.com
- Choose which type of Plan you want (Free Plan is recommended for this tutorial) and Click Finish sign up button below the page.
- Click New repository button on the right side part of the page.
- Fill the required text fields. Refer to the screenshot below.
- We need to create the file README.md, so just click the README. See the image below.
- You will be directed to another page, allowing you to type something, just ignore it, go to the bottom of the page and click Commit new file button.
- Go to Settings. You can see it on the left sidepart of the page.
- Scroll down and select Automatic page generator.
- Just create content of your page and publish it.
- Every time you click the + button, GitHub will give you a file editor on your browser. Don’t forget to add an extension of your file name with .css, .js or .html every time you will save it. Refer to the screenshot below.
- At the bottom of the page, just click the Commit new file button to host your file now.
- You’ve been successfully hosted your file, so now right click your recently uploaded file and select Copy Link Address.
The URL will look something like this:
Just change it to:
You may now use your external script to your website using the URL that we’ve modified.
Reminder: Make sure you will verify your email address used in making your GitHub account.