title: 5 commits made to wrong branch and pushed to remote/origin
body: <p>So I accidentally made 5 commits to branch "A", but I intended to make it to branch "B". I have also pushed all my commits to the remote/origin. I realized that I have made all commits to wrong branch. Is there any way I can transfer all these 5 commits to branch "B" and make my branch "A" as it was 5 commits ago?</p>