Bringing local branch to state of server