 		cb: type: "function"
 	bindings.initRepository path, bare, wrapCallback cb, (repo) ->
 		cb null, new Repository repo
+
+###*
+ * Clones a remote Git repository to the local machine. Currently, only HTTP/Git
+ * protocols are supported (no git+ssh yet).
+ * @param {String} url Address of remote Git repository.
+ * @param {String} path Destination path for cloned repository.
+###
 Gitteh.clone = =>
 	[url, path, cb] = args
 		url: type: "string"

		cb: type: "function"
	bindings.openRepository path, wrapCallback cb, (repo) ->
		cb null, new Repository repo
Gitteh.initRepository = () ->
	[path, bare, cb] = args
		path: type: "string"

		return cb null, new Remote @, remote

###*
 * Opens a local Git repository.
 * @param {String} path The path to the local git repo.
 * @param {Function} cb Called when {@link Repository} has opened.
 * @see Repository
###
Gitteh.openRepository = ->
	[path, cb] = args
