I have heroku installed in C: drive. I also installed heroku in my Ubuntu WSL. When I try to check the heroku version it shows:
/mnt/c/Program Files/heroku/bin/../client/bin/heroku.cmd: 1: @echo: not found
/mnt/c/Program Files/heroku/bin/../client/bin/heroku.cmd: 2: setlocal: not found
/mnt/c/Program Files/heroku/bin/../client/bin/heroku.cmd: 4: Syntax error: "(" unexpected (expecting "then")
I tried to push inside my code folder in command prompt.
git push heroku main
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.