- git clone https://github.com/<your-username>/OpenTTD.git openttd
- git clone https://github.com/OpenTTD/OpenTTD-git-hooks.git openttd_hooks
- cd openttd
- git remote add upstream https://github.com/OpenTTD/OpenTTD.git
- cd .git/hooks
- ln -s -t . ../../../openttd_hooks/hooks/*