title: Unable to successfully perform GitPush or GetPushRef in cake script
body: <p>I am attempting to use GitAliases to commit some changes to my Git repo from a cake script on Jenkins. I have been able to overcome the lack of descriptive information and examples for the methods and arguments in the documentation (<a href="https://cakebuild.net/api/Cake.Git/GitAliases/" rel="nofollow noreferrer">https://cakebuild.net/api/Cake.Git/GitAliases/</a>) for GitAdd(), GitCommit(), and GitTag(), all of which are working successfully now, but I am not able to get GitPush() nor GitPushRef() to work no matter what I try.</p>
  
  <pre><code>#addin "nuget:https://www.nuget.org/api/v2?package=Cake.Git";
  
  using System;
  using System.IO;
  
  var gitUserName = Argument("gitUserName","userName");
  var gitUserPassword = Argument("gitUserPassword","");
  var gitEmail = Argument("gitEmail","some.user@domain.com");
  var gitBranchName = Argument("gitBranchName","feature/test-git");
  
  
  Task("Git:CommitAndPush")
      .Does(() =&gt;
      {
          var rootPath = "./..";
          Information($"Commit and Push {rootPath}");
  
          Information("Staging all updated files in /available, /extracted, and /src directories...");
          var toAdd = new FilePath[]
          {
              new FilePath(Path.Combine(rootPath, "available")),
              new FilePath(Path.Combine(rootPath, "extracted"))
          };
          GitAdd(rootPath, toAdd);
  
          Information("Committing files...");
          var commit = GitCommit(rootPath, gitUserName, gitEmail, "Commit message");
  
          Information($"Pushing changes for commit {commit}...");
  
          // TODO: Cannot get any of these to work!
          //GitPush(rootPath);
          //GitPush(rootPath, gitUserName, gitUserPassword);
          //GitPush(rootPath, gitUserName, gitUserPassword, gitBranchName);
  
          //var gitTag = "myTag";
          //GitTag(rootPath, gitTag);
          //GitPushRef(rootPath, "origin", gitTag);
          //GitPushRef(rootPath, gitUserName, gitUserPassword, "origin", gitTag);
  
          Information("Git process complete!");
      });
  </code></pre>
  
  <p>I have tried every overload of GitPush() and GitPushRef() including creating a tag and pushing the tag using GitPushRef() but no luck. I can see the commit is successful locally, and the tag gets created, but the Push always fails. The most common error I am getting is:</p>
  
  <p>"Error: One or more errors occurred.
      unsupported URL protocol"</p>
  
  <p>The Git user account uses SSH.</p>