fix: Get branch remote from config
This prefers to get the upstream defined from the config but it will fallback to origin if none is found.