Code (JavaScript):
  1.  
  2. // ==UserScript==
  3. // @name       Github CloneURL Switcher
  4. // @version    0.1
  5. // @require http://code.jquery.com/jquery-latest.js
  6. // @description  Switches clone URL so it can be used with git client "SourceTree" by Atlassian. ONLY TESTED ON WINDOWS 8.1
  7. // @match      *://*.github.com/*
  8. // @copyright  2014
  9. // ==/UserScript==
  10.  
  11. $( document ).ready(function() {
  12.     var sourcetreeAdress = 'sourcetree://cloneRepo/',
  13.         linkSelector = '.container .minibutton.sidebar-button',
  14.         regexPatternRepo = "(.*):\/{2}(.*)",
  15.         protocol = window.location.protocol,
  16.         jqLinkObj;
  17.    
  18.     main();
  19.     function main() {
  20.         if(!$(linkSelector)) {
  21.             //Recall main, maybe its loaded now?
  22.             //TODO: Only call once every 5 seconds and abort after a while so the browser doesnt blow up?!
  23.             main();
  24.         } else {
  25.             jqLinkObj = $(linkSelector);
  26.             var cloneLink = jqLinkObj[0];
  27.             var repLink = fetchRepoLink(cloneLink);
  28.             var newLink = sourcetreeAdress + protocol + "//" + repLink;
  29.             $(cloneLink).attr('href',newLink);
  30.            
  31.             var newDescText = "Add this repository to SourceTree.";
  32.             $(cloneLink).attr('aria-label', newDescText);
  33.             $(cloneLink).attr('title', newDescText);
  34.         }
  35.     }
  36.    
  37.     /*
  38.      *
  39.      * Tries to fetch the repo link
  40.      * args: jquery object of dom node
  41.     */
  42.     function fetchRepoLink(obj) {
  43.         if(obj) {
  44.             var repoHref = $(obj).attr('href');
  45.             var repoLink;
  46.             var reg = new RegExp(regexPatternRepo, "g");
  47.             var matches = reg.exec(repoHref);
  48.             if(matches[2]) {
  49.                 repoLink = matches[2];
  50.                 return repoLink;
  51.             }
  52.         }
  53.         return false;
  54.     }
  55.    
  56. });
  57.  
Dieses Script tauscht den "Clone" Link aus, sodass man mit nur einem Klick das Repo in Sourcetree hinzufügen und clonen kann. Per Standard wird der Link auf Githubs internen Client gelegt, den ich aber nicht so toll finde.

Bsp:
aus
github-windows://openRepo/https://github.com/symfony-cmf/cmf-sandbox
mach
sourcetree://cloneRepo/https://github.com/symfony-cmf/cmf-sandbox