# Merging remote branches

## About this task

When working on a Git managed project, you can merge remote branches from within your Talend Studio.

Use the following procedure to merge a remote branch A to another remote branch B.

## Procedure

1. Check out the remote branch B to your Talend Studio as a local branch with the same branch name, by following the steps described in [Checking out a remote branch as a local one](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/creating-local-branch-from-studio-git-only#checking-out-a-remote-branch-as-a-local-one_t).
2. Update the local branch B using the remote branch A as the source to pull from, by following the steps described in [Updating a local branch](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/updating-local-branch-git-only).
3. Resolve any conflicts that occurred during the branch update, by following the steps described in [Resolving conflicts between branches](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/resolving-conflicts-between-branches-git-only).
4. Push your local branch B to the remote end, by following the steps described in [Pushing changes on a local branch to the remote end](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/pushing-changes-on-local-branch-to-remote-end-git-only).