Once you have used the ‘git commit’ command, your project is then committed to the local repository where it can stay safely until you decide to ‘git push’ to GitHub? Is that correct?
The changes you have staged will be committed to local, permanent (unless you explicitly change it) history, yes. The usual cautions about making backups apply.
For details on what staging and committing mean, see: