Q:- What is Git?
Ans:- Git is a version controlling system, It helps us in tracking the changes in our code.
Q:- How git works? Architecture of git?
Ans:- 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. Git also uses branching which allow us for multiple versions of the code.
Q:- Exaplain Why Git is Distributed?
Ans:- Git is distributed because it allows everyone who has the access to have the complete copy of the repo on there system, it also provides flexibility to work by maintaining the versions.
Q:- Explain Git Workflow with image?
Q:- List of Top 10 Git commands
Ans:-
git init
git add
git commit
git pull
git push
git status
git config
git log
git clone
git branch
Top comments (0)