How to build git-deb-pkg Debian Package First you need to clone the sources: git clone https://github.com/renard/git-deb-pkg.git Then simply run: ./git-deb-pkg -U -C -d origin/debian build Enjoy!