So, whilst reading "Version Control with Git (3e)", I thought I'd do some practical with my "studies" project. so I updated .gitignore in the main directory, introduced a specific .gitignore in my cpp (aka C++) directory and uploaded that directory.
I can now do simple Git operations and update my studies remote repository on github.