Table of contents
No headings in the article.
According to statistics collected in October 2020, it is the most prominent source code host, with over 60 million new repositories created in 2020 and boasting over 56 million total developers.GitHub allows collaboration with developers from all over the world. Open-source solutions like GitHub enable potential developers to contribute and share their knowledge to benefit the global community. LESSON 1:GITHUB FEATURES
Easy Project Management GitHub is a place where project managers and developers come together to coordinate, track, and update their work so that projects are transparent and stay on schedule.
Increased Safety With Packages Packages can be published privately, within the team, or publicly to the open-source community. The packages can be used or reused by downloading them from GitHub.
Effective Team Management GitHub helps all the team members stay on the same page and organized. Moderation tools like Issue and Pull Request Locking help the team to focus on the code.
Improved Code Writing Pull requests help the organizations to review, develop, and propose new code. Team members can discuss any implementations and proposals through these before changing the source code.
Increased Code Safety GitHub uses dedicated tools to identify and analyze vulnerabilities to the code that other tools tend to miss. Development teams everywhere work together to secure the software supply chain, from start to finish.
Easy Code Hosting All the code and documentation are in one place. There are millions of repositories on GitHub, and each repository has its own tools to help you host and release code. LESSON 2:HOW TO GET STARTED WITH GITHUB It’s easy to get things going with GitHub.GitHub is a Git repository hosting service that provides a web-based graphical interface. It is the world’s largest coding community. A repository is a project containing files and folders. A repository tracks versions of files and folders..Putting a code or a project into GitHub brings it increased, widespread exposure. Programmers can find source codes in many different languages and use the command-line interface, Git, to make and keep track of any changes.
GitHub helps every team member work together on a project from any location while facilitating collaboration. You can also review previous versions created at an earlier point in time.. For starters, click onto the GitHub site and create an account. Then, consider installing Git on your system, especially if you plan on using your local computer.Git is a version control system used for tracking changes in computer files, making it a top-rated utility for programmers world-wide. Git can handle projects of any size.. Then, go to your terminal and make yourself known to Git by setting up your user name in every repository. Use this link:
github.com/skills/introduction-to-github
Next create a branch. A branch is a parallel version of your repository. By default, your repository has one branch named main and it is considered to be the definitive branch. You can create additional branches off of main in your repository. You can use branches to have different versions of a project at one time.
On additional branches, you can make edits without impacting the main version. Branches allow you to separate your work from the main branch. In other words, everyone's work is safe while you contribute.
Thereafter, commit a file that you have created. A commit is a set of changes to the files and folders in your project. A commit exists in a branch.
After creating your commit then cretae a pull request. Collaboration happens on a pull request. The pull request shows the changes in your branch to other people. A pull request is going to keep the changes you just made on your branch and propose applying them to the main branch.You may have noticed after your commit that a message displayed indicating your recent push to your branch and providing a button that says Compare & pull request.
The next step is to merge your pull up request. A merge adds the changes in your pull request and branch into the main branch.
After merging your pull up request, basically you're considered a web developer having accomplished the following:
1.Having learned about GitHub, repositories, branches, commits, and pull requests. 2 Having created a branch, a commit, and a pull request. 3.Having merged a pull request. 4.Having made your first contribution.
CONCLUSION Since Git is such a popular and valuable tool in modern DevOps environments, that means there are plenty of career opportunities for developers who know it well