diff --git a/Module.php b/Module.php
index <HASH>..<HASH> 100644
--- a/Module.php
+++ b/Module.php
@@ -44,6 +44,12 @@ class Module extends \yii\base\Module
     public $github_repo = '';
 
     /**
+     * Repository branch
+     * @var string  What branch the content repository is using
+     */
+    public $github_branch = 'master';
+
+    /**
      * The directory in which the wiki content is stored
      * @var string
      */
diff --git a/controllers/PageController.php b/controllers/PageController.php
index <HASH>..<HASH> 100644
--- a/controllers/PageController.php
+++ b/controllers/PageController.php
@@ -83,6 +83,8 @@ class PageController extends Controller
             foreach($view_params as $key => $value) {
                 Yii::$app->view->params[$key] = $value;
             }
+            $github_link = 'https://github.com/' . $this->module->github_owner . '/' . $this->module->github_repo . '/edit/' . $this->module->github_branch . $result->file;
+            Yii::$app->view->params['github-link'] = $github_link;
 
             $this->setMetatags($result);
New setting: github_branch and github-link view param