code: function move(src, dest, treeRes) {
  	return treeRes.tree.map(function(file) {
  		const regex = new RegExp('^' + src + '$|^' + src + '(/)');
  		// Overrides file path
  		return Object.assign({}, file, {path: file.path.replace(regex, dest + '$1')});
  	});
  }
docs: Move a folder or a file in a branch by transforming the given tree
  @param  {string} src - Source path relative to branch root
  @param  {string} dest - Destination path relative to branch root
  @param  {Object} treeRes[].tree - Commit tree
  @param  {string} [branch=master] - Branch containing file/folder
  @private