clicking sync button now checks for dirty repo. Local branches not on remote now correctly push and set upstream