Debug School

Manav Sharma
Manav Sharma

Posted on

Git Assignment - 1

  • What is Git?
    Git is a DevOps tool used for source code management. It is a open-source version control system used to handle small to very large projects efficiently.

  • How git works? Architecture of git.
    Git allows users to track code changes and manage their project using simple commands. The heart of Git is a repository used to contain a project. A repository can be stored locally or on a website. Git allows users to store several different repositories and track each one independently.

Image description

  • Exaplain Why Git is Distributed?
    If two users clone from the hub and both make changes, the first user to push their changes back up can do so with no problems. The second user must merge in the first one's work before pushing changes up, so as not to overwrite the first user's changes.

  • Explain Git Workflow with image

Image description

  • List of Top 10 Git commands
  1. git init
  2. git clone
  3. git add
  4. git commit
  5. git diff
  6. git checkout
  7. git merge
  8. git remote
  9. git push
  10. git pull

Top comments (0)