We are using sourcetree and during finish release we are encountering fatal error as below. It is working fine for commits, merges, push. Earlier it was working for 'finish releases' as well.
fatal: could not read Username for 'https://github.com': Device not configured
I have encountered similar issue with Sourcetree version 3.2.1 (225)
Below steps resolved the issue:
This fixed my issue.