@codingCoffee i tried the option you gave but it didnt work so i formatted my instance and reinstalled (thankfully i have a backup). I tried to install bench manager again. I also noticed that two additional steps have been introduced. I tried to run the first command from the bench-manager directory and this is what i got:
ubuntu@ip-172-31-37-46:/home/frappe/frappe-bench/sites/bench-manager.local$ sudo git pull --rebase origin develop
fatal: Not a git repository (or any of the parent directories): .git
i ran the other commands successfully and although my site is still running (thankfully), bench manager doesn’t seem to be installed.