Get the refspec's direction.
refspec
git_direction.GIT_DIRECTION_FETCH or git_direction.GIT_DIRECTION_PUSH
See Implementation
Get the refspec's direction.