I have to update this a little bit, it only works if 'sftp://host/~/branch' is inside a repository with 'no-working-trees', otherwise it tries to build a WorkingTree, and you get an error. Though the branch is still created.
I have to update this a little bit, it only works if 'sftp:// host/~/ branch' is inside a repository with 'no-working-trees', otherwise it tries to build a WorkingTree, and you get an error. Though the branch is still created.