Introduction to GitHub

GitHub is a source code and file hosting platform with version control using Git. It allows programmers, or any user who works with code, to store their projects and collaborate with other developers. Founded in 2008 by Tom Preston-Werner, Chris Wanstrath, and PJ Hyett, GitHub quickly became an essential tool for many developers and companies around the world.

The platform offers all of the distributed functionality of Git, but with additional features that facilitate collaboration on projects of all sizes. GitHub provides a web-based graphical interface, as well as desktop and mobile access options, which are more accessible for users who may not be as comfortable with the Git command line.

What is GitHub?

GitHub is more than just a place to "store" code. It is a social network for developers, a collaborative work environment, and a learning platform. With GitHub, you can follow other users, receive updates on specific projects, contribute to public repositories, and even communicate with other developers through issues and pull requests.

Additionally, GitHub integrates with numerous tools and services, such as continuous integration systems (CI/CD), website hosting platforms, automation tools, and more, making it a rich ecosystem for software development.

Repositories on GitHub

A repository on GitHub is where your project lives. It can contain all the files needed for your project and stores each file in a version history controlled by Git. Repositories can be public or private, allowing you to control who has access to your code.

When creating a new repository, you can initialize it with a README, which is a document that describes your project, license, which defines how others can use your code, and a .gitignore, which is a file that tells Git to do not track certain files or directories.

Issues

Issues are a way to track improvements, tasks or bugs for your project. They are a great way to keep organized what needs to be done and discuss different aspects of the project with the team. On GitHub, you can assign issues to specific collaborators, tag them with labels to make searching easier, and even reference them in pull requests and commits.

Pull Requests

Pull requests are the heart of collaboration on GitHub. They allow you to inform others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review potential changes with contributors and add follow-up commits before your changes are merged into the base branch.

GitHub Actions

GitHub Actions is an automation feature that allows you to create custom workflows directly in your GitHub repository. With Actions, you can automate testing, building, packaging, releasing software, and more, without the need for third-party services or external infrastructure.

GitHub Pages

GitHub Pages is a service offered by GitHub that allows you to host a website directly from a repository on GitHub. With it, you can easily turn a repository containing HTML, CSS, and JavaScript into a live website. It's a simple and free way to create portfolios, project documentation and even blogs.

Security and Privacy

GitHub takes security seriously and offers features like two-factor authentication, automated security checks on repositories, and the ability to add SSH keys for a secure connection to the repository. Plus, with private repositories, you have full control over who views and contributes to your project.

Community and Collaboration

One of GitHub's biggest advantages is its vibrant community. Programmers around the world use GitHub to collaborate on open source projects. By contributing to open source projects, you not only improve your skills as a developer, but you also increase your visibility in the community and can make valuable connections in the industry.

Conclusion

GitHub has transformed the way we develop software. It not only simplifies release management with Git, but also provides tools and features that promote collaboration and knowledge sharing between developers. Whether you're new to programming or an experienced developer, GitHub is a platform worth exploring and integrating into your development workflow.

Now answer the exercise about the content:

Which of the following statements about GitHub is true, according to the text provided?

You are right! Congratulations, now go to the next page

You missed! Try again.

Article image Creating a GitHub account

Next page of the Free Ebook:

27Creating a GitHub account

4 minutes

Obtenez votre certificat pour ce cours gratuitement ! en téléchargeant lapplication Cursa et en lisant lebook qui sy trouve. Disponible sur Google Play ou App Store !

Get it on Google Play Get it on App Store

+ 6.5 million
students

Free and Valid
Certificate with QR Code

48 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video, audio and text