added isAhead function. added ability to set upstream in push command