ensure master branch is checked out