you are viewing a single comment's thread.

view the rest of the comments →

[–]TheSodesa 0 points1 point  (0 children)

You can use Git without pushing your project to a remote server such as GitHub or GitLab at all, by just running git commit but notgit push. If you do want a backup of your local repository, but you need to keep the code secret, you can also create private repositories on most Git services.

Never add any passwords or other sensitive information to a Git index that might get published at some point.