Difference between Git Clone Vs Git Fork Vs Git Branch | Most Important Git Interview Question

preview_player
Показать описание
#Fork #Branch #Clone #Git

Instagram: techtalk_debu

if you like my video, please subscribe to my channel and share the video

Git Clone: A clone is an exact copy of the master branch. The code will fetch from the central repository to your local machine.
Git Branch: A branch is a slightly changed or modified section of code that meets different objectives. Branches are not copies of each other but have the same origin

Git Fork: A fork is a copy of a repository that allows you to freely experiment with changes without affecting the original project. A forked repository differs from a clone in that a connection exists between your fork and the original repository itself. In this way, your fork acts as a bridge between the original repository and your personal copy where you can contribute back to the original project using Pull Requests.

Thanks & Regards,
Debu Paul
Рекомендации по теме
Комментарии
Автор

Nicely explained but you should have also shown that fork can be merged with Master.

raviv
Автор

But still we can raise a pull request to merge with master right

learningneverends