Git is a distributed version control system, which is a tool for tracking changes made to a set of files or coordinating work overtime. It is often used by programmers to coordinate changes to the software source code, and it can be used to track any content. Merging is a typical practice in Git used to integrate changes from one branch to another.
Git merge is a command that commits changes to another location. A merge bonds two departments, although Git supports merging of three, four or more branches at the same time. Git rebase used to integrate another branch with the branch you are currently working. It keeps a linear commit history.