How can try Dev version in Ubuntu 16?

I want to test nightly version…
Wich one command for git pull or apt-get update or pip upgrade, I want test week commits