Revert "Allow branch changes"

This reverts commit 73a31cdf1f2bc847d76100b15d4479c72544614b.