add-apt be used for Github repos?
I know that this adds a ppa from launchpad:
sudo add-apt-repository ppa:chris-lea/node.js
I would like to use a Github repository instead of launchpad. Is this possible?
Debian package repositories (which are what PPAs are, but with specific packages in them for Ubuntu releases, and not Debian itself) are not the same as git repos. You can't use a git repo for an apt repository.
The main reason for this is because