       unless statusesUnchanged
         @emit 'statuses-changed'
         @emitter.emit 'did-change-statuses'
+
+if includeDeprecations
+  GitRepository::on = (eventName) ->
+    switch eventName
+      when 'status-changed'
+        deprecate 'Use GitRepository::onDidChangeStatus instead'
+      when 'statuses-changed'
+        deprecate 'Use GitRepository::onDidChangeStatuses instead'
+      else
+        deprecate 'GitRepository::on is deprecated. Use event subscription methods instead.'
+    EmitterMixin::on.apply(this, arguments)
+
+  GitRepository::getOriginUrl = (path) ->
+    deprecate 'Use ::getOriginURL instead.'
+    @getOriginURL(path)

  onDidChangeStatuses: (callback) ->
    @emitter.on 'did-change-statuses', callback

  on: (eventName) ->
    switch eventName
      when 'status-changed'
        deprecate 'Use GitRepository::onDidChangeStatus instead'
      when 'statuses-changed'
        deprecate 'Use GitRepository::onDidChangeStatuses instead'
      else
        deprecate 'GitRepository::on is deprecated. Use event subscription methods instead.'
    EmitterMixin::on.apply(this, arguments)

  ###
  Section: Repository Details
  ###

  # * `path` (optional) {String} path in the repository to get this information
  #   for, only needed if the repository has submodules.
  getOriginURL: (path) -> @getConfigValue('remote.origin.url', path)

  # Public: Returns the upstream branch for the current HEAD, or null if there
  # is no upstream branch for the current HEAD.
