Clone, checkout desired branch and run this on a new Ubuntu or Debian machine to configure both the machine and your individual development environment as follows:
cd $HOME
sudo apt-get install -y git
git clone https://github.com/stillgreyfox/setup.git
./setup/setup.sh
See also http://github.com/stillgreyfox/dotfiles for more details.