Sourcetree asking password - [Solved]

Hello!
I just wanted to share the solution of a problem I had on Sourcetree 3.2.1 (Mac OS - High Sierra - 10.13.6)
Whenever I tried to Push files after committing it, Sourcetree was repeatedly asking for a username and password, I’ve tried a lot of things and none of them worked.
The solution to my problem was, after creating a SSH key and changing the protocol from HTTPS to SSH (Preferences → Account Tab), I’ve had to click on the option “Convert to SSH” (Initial window where it shows your Local repository).