add extra headers for compatibility
return proper update URL if $this->branch exists
return early for undefined index error
read and return 'Git(.*) Branch' header