Common Ancestor
In Git, a "base" is a reference point or starting point for a set of changes or differences. When you're working with Git, you're typically working with a branch or a commit in your repository's history.
The base is often used in the context of merging two branches together. The base branch is the common ancestor of the two branches you are merging. Git uses the base as a reference point to determine what changes have been made in each branch and how to combine them.
For example, if you have a feature branch and you want to
Git also uses the concept of a base when comparing commits or creating pull requests. The base commit is the commit that you want to compare your changes against. This can be useful if you want to see what changes have been made in a particular branch or commit compared to a different branch or commit.
Overall, the base is an important concept in Git that helps to determine the differences between different branches, commits, or sets of changes.