use current branch instead of head