nl_tokens: Sync repository with remote by pulling / pushing to the remote .
pl_tokens: function sync ( repoState , driver , opts = { } ) { opts = Object . assign ( { branch : repoState . getCurrentBranch ( ) , force : false , remote : { name : 'origin' } } , opts ) ; return pull ( repoState , driver , opts ) . fail ( ( err ) => { if ( err . code === ERRORS . REF_NOT_FOUND ) { return Promise ( repoState ) ; } return Promise . reject ( err ) ; } ) . <mask> ( ( newRepoState ) => { return push ( newRepoState , driver , opts ) ; } ) ; }