I'm using Sourcetree version 3.4.6.
I have followed the instructions for this SO answer. I get the token and in Tools => Options => Authentication tab I click on the Add text:
I use the PAT as password but I get a "Authentication failed" message.
How can I use PAT with SourceTree?