Can i replace master with another branch with commit history?