This repository uses the excellent @atomantic/dotfiles project as the base, and has been changed to my preferences.
Open Terminal (not iTerm) and run this:
git clone --recurse-submodules https://github.com/dhayab/dotfiles ~/.dotfiles
cd ~/.dotfiles
./install
Follow the original README.md to understand how this works. Also, just to be clear...
Warning: The creator of this repo is not responsible if your machine ends up in a state you are not happy with. If you are concerned, look at the code to review everything this will do to your machine :)