# Git Tips
#command-line
**Topic**:: [[♯ Git]]
## Tips
⚡ [Diff per word or character](https://makandracards.com/makandra/28067-git-diff-per-word-or-character)
**Reference**:: [[Henning Koch - Git Diff Per Word or Character (Highlights)]]
```
git diff --color-words
git diff --color-words=.
```
⚡ [Synchronize Between Clones](https://stackoverflow.com/a/28381311)
**Reference**:: [[Ciro Santilli et al. - How to Push to a Non-Bare Git Repository (Highlights)]]
```
git config --local receive.denyCurrentBranch updateInstead
```
It also requires the remote clone working directory is clean.
⚡ [Display Unicode Path](https://stackoverflow.com/a/22828826/667158)
```
git config --global core.quotepath off
```