$ git clone https://github.com/DrejT/forum-page/
$ cd client # change to client directory
$ npm run dev # start the local server
now, the visit http://localhost:5173
$ git branch # list down all the local branches the current branch has a *
$ git branch <my_new_branch_name> # creates a new branch
$ git checkout <branch_name> # switches your branch to the specified branch
this is how you can work with branches locally while developing
If you already have a remote branch that you want to develop on then use the command below
$ git clone https://github.com/DrejT/forum-page # clone the repo
$ git switch <remoteBranchName> # switch to the remote branch
don't push to the main branch, instead create a new branch, develop on it. For pushing those changes to your the github repository follow the below steps as per your case
If you want to develop on a different remote branch please follow the note above
$ git push origin branchName # use this if your local branch name and remote branch name are the same
$ git push origin localBranchName:remoteBranchName # use this if the local branch name and remote branch names are not the same