git-merge is a git command which integrates changes from another branch by incorporating commits into the currently checked-out branch.
A merge
in version control is an operation where two sets of changes are combined to have both features available.
Git provides sophisticated merge support by automatically detecting simple merges (i.e. if only changes on one branch happened, also called fast-forward
) and allowing plugable merge-strategies for more advanced use-cases.