Putting Your WordPress Child Theme Under Git Version Control



How to put a WordPress Child Theme project under Git and host the repository on GitHub. I show how to set up a local dev site on Git, connect it to a live repository, add a .gitignore, so you don’t have to track files you’ll never work on.

source