git stash apply
git commit --amend
Q40. What is Git fork? What is the difference between fork, branch, and clone?
Fork: Forking is nothing but creating a copy of a repository, it allows you to make changes or experiment with the changes without affecting the original project.
Difference between Fork, Branch, and Clone
Q41.What is the difference between a pull request and a branch?
The difference between the pull request and ranch are as follow:
A branch is just a separate version of the code
Q42.What is the difference between git pull and git fetch?
In the simplest terms, git pull does a git fetch followed by a git merge.
Q43.Explain the advantages of Forking Workflow
Advantages of Forking workflow are as follow:
Q44.What is the difference between HEAD, working tree and index, in Git?
The difference between HEAD, working tree and Index are as follow: