Git Check If Remote Branch Exists In Sql