topgrade

Install

URL=https://github.com/r-darwish/topgrade/releases/download/v4.9.0/topgrade-v4.9.0-x86_64-unknown-linux-gnu.tar.gz
 
wget ${URL} -qP /tmp
tar -C /tmp -xzf /tmp/topgrade-v*-x86_64-unknown-linux-gnu.tar.gz
sudo mv /tmp/topgrade /usr/local/sbin

Custom configuration

# ~/.config/topgrade.toml
...
[git]
repos = [
    "~/git/repository1",
    "~/git/repository2"
]
...

Run update

topgrade -cy

Links
https://github.com/r-darwish/topgrade
https://github.com/r-darwish/topgrade/releases