Bitbucket password not working

Hi again,

I recently had to switch laptops (not sure if thats relevant) and now when I try to push my code, when asked for my Bitbucket password I am not repeatedly getting this message:

Password for '': 
remote: Unauthorized
fatal: Authentication failed for ''
NathanisMacBook:03b91885-npsandler-data-structure-exercises school2$ 

I’m thoroughly positive I’m using the correct password, I can log in on the Bitbucket site using it.

EDIT: Figured it out.