get branch from local repo as default