Unable to push to Spaces using VS Code

I created a Space called minimal. I wrote the app.py from the browser itself, then cloned it into my local machine.

After I made some changes in the app.py file, I tried pushing it to huggingface but am unable too. I tried the solutions others have posted before, including using github remote -v, deleting and re-cloning the repo, etc.

This is my cli interaction:

PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2> git add .
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2> git commit -m "app"
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)
        modified:   minimal (modified content)

no changes added to commit (use "git add" and/or "git commit -a")
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2> git push
Everything up-to-date
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2> cd minimal
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git add .
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git commit -m "f"
[main 25c8b7a] f
 1 file changed, 1 insertion(+), 1 deletion(-)
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 12 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 277 bytes | 277.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: -------------------------------------------------------------------------
remote: You are not authorized to push to this repo.
remote: Make sure that you are properly logged in.
remote: -------------------------------------------------------------------------
To https://huggingface.co/spaces/vanshk7/minimal
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://huggingface.co/spaces/vanshk7/minimal'
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git config --global credential.helper
store
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git credential-manager-core erase
   
fatal: Missing 'protocol' input argument
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git remote -v
origin  https://huggingface.co/spaces/vanshk7/minimal (fetch)
origin  https://huggingface.co/spaces/vanshk7/minimal (push)
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git pull
Already up to date.
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal> git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 12 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 277 bytes | 277.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: -------------------------------------------------------------------------
remote: You are not authorized to push to this repo.
remote: Make sure that you are properly logged in.
remote: -------------------------------------------------------------------------
To https://huggingface.co/spaces/vanshk7/minimal
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://huggingface.co/spaces/vanshk7/minimal'
PS C:\Users\Vansh\Desktop\Coding\FastAI Practical Deep Learning\Lesson 2\minimal>