PHPackages                             granam/git - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. granam/git

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

granam/git
==========

Basic workflow with GIT

2.1.1(5y ago)06008MITPHPPHP &gt;=7.3CI failing

Since Jan 15Pushed 5y agoCompare

[ Source](https://github.com/granam/git)[ Packagist](https://packagist.org/packages/granam/git)[ RSS](/packages/granam-git/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (27)Used By (8)

Git stupid reader
=================

[](#git-stupid-reader)

For more sophisticated Git workflow, try for example [sebastianfeldmann/git](https://packagist.org/packages/sebastianfeldmann/git).

Current package can just

- get Git status
- get diff against origin master
- get last commit hash
- get patch versions from tags
- get all version-like branches
- clone a branch
- update a branch
- say if a remote branch exists

Usage
-----

[](#usage)

```
