Push customized erpnext to github

Is there a way to keep a customized erpnext on my github and be able to get it using:
bench get-app and install it whenever necessary any help is highly appreciated

You can do a get-app and then change your branch and run migrate.