remote: specify what values direction can mean in git_remote_connect()

This fixes #1487