Remotes with custom ssh ports look like this in .git/config:
[remote "origin"]
url = [git@example.com:2323]:path/to.git
Strip the brackets from the URL parts to support those URLs.
It can be used to configure a standalone transfer agent for local files,
like:
```
git config lfs.customtransfer.file.path git-lfs-standalonetransfer-file
git config lfs.file:///.standalonetransferagent file
```
The `file://` scheme is required for Git config URL match to work. An
absolute path alone cannot be used for URL matching.
An example implementation of a transfer agent is available as Gist
<https://gist.github.com/sprohaska/f3cd4287d8c41b74fc808b5a5396cad1>.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>