Manage and share files with Git

Many Branches

© Lead Image © germina, 123RF.com

© Lead Image © germina, 123RF.com

Author(s):

Software projects often comprise several code branches, some of which exist in parallel. Git supports community code development through remote repositories and code branching.

Special Thanks: This article was made possible by support from Linux Professional Institute

Real projects usually are not linear: When many developers work on code, parallel branches are the rule. Git allows you to store your code branches in a repository (repo), and even changing the directory structure does not cause any problems.

The example from the first part of this series [1] comprises three text files located in a local repository, which is usually sufficient just to manage files. However, if you work in a team, being able to link your project to a remote repository has advantages.

[...]