Python Get Git Tag Checkout Device