VS github merge

C++
// Go to the main branch you want the side branch to be merged to
git checkout <Main branch name>

// Merge your side branch
git merge <Side branch name>
Source

Also in C++: