Setup New Github Repo for a ProjectHow to create a new Github repo for a new project, setup default branches, permissions etc.

Sometimes creating a default .gitignore is not helpful as you want a truly empty repo, use your judgement here

2023-10-20_08-38-33.mp4

It is advisable to populate the repo with a boilerplate project or at least a composer.json before it is linked to forge.

Setup the repo, then go to code editor and clone the repo.

Create an new branch for initial commit eg. wip-af-initial

Add a boilerplate project in the new branch.

Update .env. Add auth.json for Backpack.

composer update, npm install, valet links, basset clear cache whatever is needed for the project to make it work

When all is working, push to the repo.

Auth.json needs to be pushed up manually.

Then link this to Forge.