Day 9 Task: Deep Dive in Git & GitHub for DevOps Engineers.
Muhamad Kamran
DevOps Engineer|AWS DevOps Engineer |Linux OS| Git and Github| Docker|Jenkins CI|CD Pipelines | Kubernetes |Python | Azure | Shell Scripting |Ex.NOC & IT Support | CCNA | CCNP | MTCNA | Recommended
Git is a distributed version control system (DVCS) that is widely used in software development and various other fields to track changes to files and coordinate work among multiple contributors. It was created by Linus Torvalds in 2005 and has since become an integral tool for software development. Here's why Git is important:
Git is important because it enables efficient collaboration, tracks code changes, and provides accountability in software development. It simplifies teamwork, preserves code history, and safeguards against errors.
?
?
Git is the version control system that handles tracking changes and managing code on a developer's local machine, while GitHub is an online platform that hosts Git repositories, facilitates collaboration, and offers additional project management features. Many developers use Git locally and then push their code to GitHub or similar platforms to collaborate with others and share their work.
?
?
To create a new repository on GitHub:
?
领英推荐
?
Local Repository:
Remote Repository (e.g., on GitHub):
To connect a local repository to a remote repository:
git remote add origin <https://github.com/muhamadkamran674/Blue_Ocean_Pipeline_Jenkins.git>
git push -u origin master