It's March 2019, and I just did it this way:
- Access https://id.atlassian.com/login/resetpassword
- Fill your email and click "Send recovery link"
- You will receive an email, and this is where people mess it up. Don't click the Log in to my account button, instead, you want to click the small link bellow that says Alternatively, you can reset your password for your Atlassian account.
- Set a password as you normally would
Now try to run git commands on terminal.
It might ask you to do a two-step verification the first time, just follow the steps and you're done!