In this tutorial I will show how to create packages for Unity using orphan branches in Github.
The idea is simple, just clone your project (you will need to work with a copy in case you don't want to checkout (switch) branches too many times):
$ git clone <url>
Then create a new orphan branch:
$ git checkout --orphan unity-<ver>