I'd like to keep some private information (files/folders) on the local git directories (say server info etc) but everything else pushed to a public server say GitHub.
Of course I'd backup all the files locally as well.
What is the proper way of achieving my aim. .gitignore?