Debug School

Devesh Jangid
Devesh Jangid

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 works by keeping a local copy of a repo on our system, which is further used to make the changes in the files and to add and commit them in the repo when they are ready to be shared. Once the commit is done for the file change then we can push those changes to a remote repo or on the host like Github. People having the access to that repo can easily pull those changes to there local repo.

  • Exaplain Why Git is Distributed?

  • Git allows multiple developers to work on same project and helps in tracking the changes of code. It also provides flexibility to work by maintaining the versions.

  • Explain Git Workflow with image?

Image description

  • List of Top 10 Git commands
  1. git init
  2. git add
  3. git commit
  4. git pull
  5. git push
  6. git status
  7. git config
  8. git log
  9. git clone
  10. git branch

Top comments (0)