How to Set Python Requests Timeout for the Entire Request - Resolving 'Unable to Create index.lock' in Git-Resolve Git Detached HEAD in SourceTree

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.