The following commands I will be using in the https://github.com/justinhartman/Automated-LAMP-with-trusted-localhost-SSL project but they are also useful commands to keep as a reference.
$ sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <certificate>
$ sudo security add-trusted-cert -d -r trustRoot -k $HOME/Library/Keychains/login.keychain <certificate>
$ sudo dseditgroup -o edit -a `whoami` -t user _www
$ whoami
$ groups $(whoami) | cut -d' ' -f1
$ id $(whoami) | cut -d' ' -f1
$ sudo chown -R $(whoami):staff /path/to/folder
$ echo "User" $(whoami) >> me.txt
$ echo "<IfModule unixd_module>" > me.txt
$ echo " User" $(whoami) >> me.txt
$ echo " Group staff" >> me.txt
$ echo "</IfModule>" >> me.txt
git tag -a v2.1.4 5c91e9f -m ":rocket: Version 2.1.4 Release."