Day 9 Task: Deep Dive in Git & GitHub for DevOps Engineers.

What is Git and why is it important?
Git is a DevOps tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.
What is difference Between Main Branch and Master Branch?
They are conceptually the same thing. The "master" branch and the "main" branch in Git are similar in that they both typically serve as the primary or default branch of a repository, containing the most up-to-date and stable version of the code.
The term "master" is widely used in version control systems, including Git, as the default branch name for newly created repositories. However, the term "master" has a history of association with slavery, which is considered offensive and not inclusive. In an effort to address this and promote inclusivity, some organizations and developers have started using the term "main" instead of "master" as the primary branch name, to avoid the association.
Can you explain the difference between Git and GitHub?

What is difference between local & remote repository?
A remote repository is hosted on a remote (this could be on the internet or an off-site server; it could even be the same machine in a different path) and is shared among multiple team members.
A local repository is hosted on a local machine for an individual user.
While you can use Git version control features with a local repository, collaboration features — like pulling and pushing code changes with teammates — can only be done on a remote repository.

Tasks
- Create a repository named "Devops" on GitHub


2.Connect your local repository to the repository on GitHub
3.Create a new file in Devops/Git/Day-02.txt & add some content to it

- Push your local commits to the repository on GitHub





