To store an October CMS project in Git, follow the steps given below:
Run ‘git init’ in the project root.
Use ‘.gitignore’ to ignore sensitive and unnecessary files, like
/storage/
,
/vendor/
,
.env
Track important files, like ‘composer.json’, Custom plugins and themes, ‘Config’ files
Stage and commit your files:
Use ‘composer.json’ to manage dependencies.